package cn.liyicun.test.exception;

import cn.liyicun.test.dto.MyResultInfo;

public class MyException extends Exception {

    int code = MyResultInfo.ERROR;

    public MyException(String message) {
        super(message);
    }

    public MyException(int code, String message) {
        super(message);
        this.code = code;
    }

}
